import './assets/base.css'
import 'vant/lib/index.css';
import { createApp } from 'vue'
import { createPinia } from 'pinia'
//数据持久化
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'
import Vant, { PullRefresh } from 'vant';
import VideoPlayer from 'vue-video-player'
import 'element-plus/dist/index.css'
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'
const app = createApp(App)

const pinia = createPinia()
pinia.use(piniaPluginPersistedstate)

app.use(pinia)
app.use(router)
app.use(Vant)
// app.use(VideoPlayer)

app.use(createPinia())
app.use(router)
app.use(PullRefresh);



app.use(createPinia())
app.use(router)

app.mount('#app')
